#include <vstbus.h>
Public Member Functions | |
Bus (const TChar *name, BusType busType, int32 flags) | |
Constructor. | |
TBool | isActive () const |
Returns true if the bus is active. | |
void | setActive (TBool state) |
Activates the bus. | |
void | setName (String newName) |
Sets a new name for this bus. | |
void | setBusType (BusType newBusType) |
Sets a new busType for this bus. | |
void | setFlags (uint32 newFlags) |
Sets a new flags for this bus. | |
virtual bool | getInfo (BusInfo &) |
Gets the BusInfo of this bus. | |
Data Fields | |
OBJ_METHODS(Vst::Bus, FObject) protected BusType | busType |
< name | |
int32 | flags |
flags, see BusFlags | |
TBool | active |
activation state |
Basic Bus object.
TBool isActive | ( | ) | const [inline] |
Returns true if the bus is active.
void setActive | ( | TBool | state | ) | [inline] |
Activates the bus.
void setName | ( | String | newName | ) | [inline] |
Sets a new name for this bus.
void setBusType | ( | BusType | newBusType | ) | [inline] |
Sets a new busType for this bus.
void setFlags | ( | uint32 | newFlags | ) | [inline] |
Sets a new flags for this bus.
bool getInfo | ( | BusInfo & | info | ) | [virtual] |